package Models

type FaAdmin struct { // 默认操作的是这张表的复数
	Id         uint   `gorm:"primary_key"`
	pid        int    `gorm:"size:10"`
	BusinessId int    `gorm:"size:10"`
	Type       int    `gorm:"column:type;type:int(10)"` // 和go的保留字冲突
	Source     int    `gorm:"size:10"`
	Mobile     string `gorm:"size:20"`
	Role       int    `gorm:"size:10"`
	Status     int    `gorm:"size:10"`
	IsDelete   int    `gorm:"size:10"`
	CreatedAt  string `gorm:"size:20"`
	UpdatedAt  string `gorm:"size:20"`
}

func (FaAdmin) TableName() string {
	return "fa_admin"
}
